﻿#region Usings
using BK.Model;
using BK.Repositories.Abstract;
#endregion

namespace BK.BlusinessLogic
{
    public class PaymentsBl
    {
        #region Readonly & Static Fields
        private readonly IPaymentsRepository _paymentsRepository;
        #endregion

        #region C'tors
        public PaymentsBl(IPaymentsRepository paymentsRepository)
        {
            _paymentsRepository = paymentsRepository;
        }
        #endregion

        #region Instance Methods
        public void Save(Payment payment)
        {
            _paymentsRepository.Save(payment);
        }
        #endregion
    }
}